package com.hucii.app.net;

public abstract class IAgentRequest {

	public static final String HTTP_SCHEME = "http";
	public static final String HTTP_HOST = "www.dhhjk.cn";
	public static final String HTTP_AGENT = "";

	protected int mApn; // 使用接入点
	protected boolean mCookieEnable = true;

	// 联网
	public abstract AgentInputStream execute(RequestEntity requestEntity) throws Exception;

	// 关闭&回收
	public abstract void close();

	// 中止
	public abstract void abort();

	public int getApn() {
		return mApn;
	}

	public void setApn(int apn) {
		mApn = apn;
	}
	//
	// /**
	// * 得到response
	// */
	//
	// public MttResponse getResponse() {
	// return null;
	// }
}
